package com.lh.marketing.runner;

import org.springframework.web.bind.annotation.RequestMapping;

import java.lang.annotation.*;
import java.util.concurrent.TimeUnit;

@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyScheduled {
    String cron();
    int releaseTime() default 3;
    TimeUnit timeUnit() default TimeUnit.SECONDS;
}
